package com.pp.mapper;

import com.pp.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by lanou on 18/2/27.
 */
@Mapper
public interface UserMapper {
    User findUser(User user);
    List<User> findAllUser();
    void delete(User user);
    User updateUser(User user);
    void upUser(User user, @Param("uid") int id);
}
